package com.ruoyi.project.gzbook.loopimage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 轮播图对象 dg_loop_image
 * 
 * @author mhg
 * @date 2021-10-09
 */
public class DgLoopImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 描述 */
    @Excel(name = "描述")
    private String descp;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String imagePath;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDescp(String descp)
    {
        this.descp = descp;
    }

    public String getDescp()
    {
        return descp;
    }
    public void setImagePath(String imagePath)
    {
        this.imagePath = imagePath;
    }

    public String getImagePath()
    {
        return imagePath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("descp", getDescp())
            .append("imagePath", getImagePath())
            .append("createTime", getCreateTime())
            .toString();
    }
}
